﻿<%@ Page Title="Моя страница" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="PPage.aspx.cs" Inherits="PPage" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script src="audio-player/audio-player.js" type="text/javascript"></script>
    <script type="text/javascript">
        AudioPlayer.setup("audio-player/player.swf", {
            width: 300,
        });  
    </script>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:PlaceHolder ID="PlaceHolder1" runat="server">
        <p style="border-bottom: 1px #CCC solid; padding-bottom: 8px;">
            <asp:Label ID="UserName" 
                       runat="server" 
                       Text="" />
            <asp:Label ID="LastName" 
                       runat="server" 
                       Text="" /> - 
            <asp:Label ID="LogName" runat="server" Text="LabelXX" />
        </p>
        <div style="float: left; ">
            ПОЛ: М
            <br />
            ДАТА РОЖДЕНИЯ: <asp:Label ID="DbirdthLabel" runat="server" Text=""></asp:Label>
            <br />
            ГОРОД: <asp:Label ID="ArLabel" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <div style="border-top: 1px dashed #CCC;">
            </div>
            <br />
            Vk: <asp:Label ID="VkLabel" runat="server" Text=""></asp:Label>
            <br />
            Facebook: <asp:Label ID="FbLabe" runat="server" Text=""></asp:Label>
            <br />
            Twitter: <asp:Label ID="TwLabel" runat="server" Text=""></asp:Label>
            <br />
            MySpace: <asp:Label ID="MsLabel" runat="server" Text=""></asp:Label>
            <br />
            Google+: <asp:Label ID="GpLabel" runat="server" Text=""></asp:Label>
            <br />
            Телефон: <asp:Label ID="TelLabel" runat="server" Text=""></asp:Label>
            <br />
            Доп. инфо: <asp:Label ID="OthLabel" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <br />


             TRACKLIST
            <br />
        </div>
        <div style="margin-left: 355px;">
            <img src="images/account/v.png" alt="v" width="200px" height="200px" />
            <br />
            <asp:MultiView ID="ButtonsUnderAvMultiView" runat="server">
                <asp:View ID="GuestView" runat="server">
                    <p align="center" style="border: 1px double black; width: 200px;">
                        <asp:HyperLink ID="SendMesHiperLink" 
                                       runat="server" 
                                       Text="Отправить сообщение"/>
                    </p>
                    <p align="center" style="border: 1px double black; width: 200px;">
                        <asp:LinkButton runat="server" 
                                       Text="Добавить в закладки" OnClick="AddToFav_Click"/>
                    </p>
                </asp:View>
                <asp:View ID="OwnerView" runat="server">
                    <p align="center" style="border: 1px double black; width: 200px;">
                        <asp:HyperLink runat="server" 
                                       NavigateUrl="~/Account/Bmpe.aspx"
                                       CssClass="menu" 
                                       Text="Редактировать профиль" />
                    </p>
                </asp:View>
            </asp:MultiView>
        </div>
        <div>
            <br />
            <br />
           <asp:Label ID="AboutNullMess" runat="server" Text=""></asp:Label>
            <br />
            <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
            <asp:ListView ID="TrackList" runat="server">
                <LayoutTemplate>
                    <div id="itemPlaceholder" runat="server">
                    </div>
                </LayoutTemplate>
                <ItemTemplate>
                    <div>
                        <h3 class="m_title">
                            <%#Eval("Author") %>&nbsp / &nbsp
                            <a href= 'TrackPage.aspx/?id=<%#Eval("TrackID")%>'> <%#Eval("Name") %> </a>   
                            &nbsp/ &nbsp
                            <%#Eval("Price")%>$
                        </h3>
                    </div>
                    <div style="font-size: small;">
                        Posted <a href="" style="color: SteelBlue3;">11/21/2011</a> |
                        <img src="images/icons/comments.gif" alt="ff"><a href="" style="color: SteelBlue3;">
                            Comments (7)</a>
                    </div>
                    <br />
                    <br />
                    <p id="audioplayer_<%#Container.DataItemIndex %>">
                        Alternative content</p>
                    <script type="text/javascript">
                        AudioPlayer.embed("audioplayer_<%#Container.DataItemIndex %>", { soundFile: '<%#Eval("FilePath")%>' });  
                    </script>
                    <br />
                    <br />
                    <img src="images/office/soc.bmp" alt="soc.." />
                    <br />
                    <br />
                    <br />
                    <br />
                </ItemTemplate>
            </asp:ListView>
            <asp:DataPager ID="TrackListDataPager" PagedControlID="TrackList" PageSize="7" runat="server">
                <Fields>
                    <asp:NextPreviousPagerField PreviousPageText="Назад" ShowNextPageButton="False" />
                    <asp:NumericPagerField />
                    <asp:NextPreviousPagerField NextPageText="Далее" ShowPreviousPageButton="False" />
                </Fields>
            </asp:DataPager>

        </div>
    </asp:PlaceHolder>
</asp:Content>
